package zigzag.designpattern.chain;

public class Client {
	public static void main(String args[]){
		StandoutLogger log = new StandoutLogger();
		FileLogger flog = new FileLogger();
		EmailLogger elog = new EmailLogger();
		
		log.setNext(flog);
		flog.setNext(elog);
		
		log.writeMessage(Logger.DEBUG, "debug information");
	}
}
